#pragma once
#include "afxcmn.h"


// CDlgCalcMsg dialog

class CDlgCalcMsg : public CDialog
{
	DECLARE_DYNAMIC(CDlgCalcMsg)

private:
	int		m_nRow;
public:
	void AddErrMsg(int nMapID,char* szErrMsg);
	void AddMessage(char* szMesage);
	void AddMessage(int nMapID,char* szMsg);
	void ClearMsg(){m_List.DeleteAllItems();m_nRow = 0 ;};
public:
	CDlgCalcMsg(CWnd* pParent = NULL);   // standard constructor
	virtual ~CDlgCalcMsg();

// Dialog Data
	enum { IDD = IDD_Dlg_CalcMsg };

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	virtual BOOL OnInitDialog();

	DECLARE_MESSAGE_MAP()
public:
	afx_msg LRESULT OnCalcMsg(WPARAM, LPARAM);
	CListCtrl m_List;
};
